﻿using Coldairarrow.Entity.BS_Lables;
using Coldairarrow.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.IBusiness.BS_Lables
{
    public interface IBS_LableBusiness
    {
        Task<PageResult<BS_Lable>> GetDataListAsync(PageInput<TSeachDTO> input);
        Task<object> GetLableList(string lableName);
        Task<BS_Lable> GetTheDataAsync(string id);

        Task AddDataAsync(BS_Lable data);

        Task UpdateDataAsync(BS_Lable data);

        Task DeleteDataAsync(List<string> ids);
    }


    public class TSeachDTO
    {
        public string Keyword{ set; get; }
    }
}
